Method for converting luminance range of picture signal

ABSTRACT

In a converting method relating to picture luminance according to one aspect of the present disclosure, the picture luminance is formed by luminance values in a first luminance range. In this method, a first luminance signal that indicates code values obtained by quantizing the luminance value of the picture is obtained, code values, which are associated with the code values indicated by the obtained first luminance signal by quantization for a second luminance range different in a maximum value from the first luminance range are determined as converted code values, and the first luminance signal is converted into a second luminance signal indicating the converted code values. As a result, the converting method is further improved.

BACKGROUND

1. Technical Field

The present disclosure relates to a converting method and a convertingapparatus that perform a conversion into a signal in a differentluminance range.

2. Description of the Related Art

Conventionally, an image signal processing apparatus for improving adisplayable luminance level has been disclosed (for example, seeUnexamined Japanese Patent Publication No. 2008-167418).

SUMMARY

In one general aspect, the techniques disclosed here feature a methodincluding obtaining a first luminance signal that indicates a first codevalue obtained by quantizing a luminance value of a picture, luminanceof the picture being formed by a luminance value in a first luminancerange, and converting the first luminance signal into a second luminancesignal indicating a converted code value by deciding, as the convertedcode value, a second code value, which is associated with the first codevalue indicated by the obtained first luminance signal, the second codevalue being for a second luminance range different in a maximum valuefrom the first luminance range.

The above aspect can realize further improvement.

Additional benefits and advantages of the disclosed embodiments willbecome apparent from the specification and drawings. The benefits and/oradvantages may be individually obtained by the various embodiments andfeatures of the specification and drawings, which need not all beprovided in order to obtain one or more of such benefits and/oradvantages.

It should be noted that general or specific embodiments may beimplemented as a system, a method, an integrated circuit, a computerprogram, a storage medium, or any selective combination thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating an example of an EOTF (Electro-OpticalTransfer Function);

FIG. 2 is an explanatory diagram illustrating a method for deciding acode value of a luminance signal to be stored in contents and a processfor restoring a luminance value from the code value at a reproductiontime;

FIG. 3 is an explanatory diagram illustrating a player that creates andreproduces a BD (Blu-ray Disc);

FIG. 4A is a diagram illustrating an example where a BD player and a TVare connected by an HDMI (High-Definition Multimedia Interface:registered trademark) and a case where the TV is compatible with a HDR(High Dynamic Range) display;

FIG. 4B is a diagram illustrating an example where the BD player and theTV are connected by the HDMI (registered trademark) and a case where theTV is not compatible with the HDR display;

FIG. 5A is a diagram for describing an example where first remapping iscarried out on an SDR signal into an HDR signal;

FIG. 5B is a diagram for describing an example where first remapping iscarried out on an HDR signal into an SDR signal;

FIG. 6 is a diagram illustrating luminance ranges of an SDR master andan HDR master in a video;

FIG. 7 is a diagram for describing an example of relational informationbetween an HDR luminance value and an SDR luminance value when the HDRsignal is converted into the SDR signal;

FIG. 8 is a block diagram illustrating a configuration of a remappingprocessor in a converting apparatus;

FIG. 9 is a diagram illustrating a flowchart of the remapping process inthe converting apparatus;

FIG. 10 is a diagram illustrating an example of combinations of the HDRand the SDR when contents include one video stream and one graphicstream;

FIG. 11 is a diagram illustrating that a graphic master is created byusing the EOTF shared by a video master;

FIG. 12A is a diagram for describing a case of mapping on the SDR signalwhen the graphic master is created;

FIG. 12B is a diagram for describing a case of mapping on the HDR signalwhen the graphic master is created;

FIG. 13 is a block diagram illustrating a configuration of a generatorthat generates a graphic signal on authoring;

FIG. 14 is a flowchart illustrating a method for generating the graphicsignal in authoring; and

FIG. 15 is a diagram in which color spaces BT.709 and BT.709 in ITU-RRecommendations are indicated by a CIE (Commission International del'Eclairage) color system.

DETAILED DESCRIPTION

(Underlying Knowledge Forming Basis of the Present Disclosure)

The inventor of the present disclosure has found that an image signalprocessing apparatus described in “Background Art” has the followingproblem.

In the image signal processing apparatus disclosed in UnexaminedJapanese Patent Publication No. 2008-167418, linear luminance iscalculated for respective pixels based on linear RGB values calculatedfrom the respective pixels forming an object, correction linearluminance for the respective pixels and a correction linear RGB value ofa synthesized pixel obtained by synthesizing a plurality of pixelsincluding the respective pixels are calculated based on the linear RGBvalue and the linear luminance, and the correction linear luminance andthe correction linear RGB value are gamma-corrected so that displayluminance and a display RGB value are calculated. In such a manner, inthe image signal processing apparatus, the linear luminance is correctedbased on the correction linear RGB value so that displayable gradationis increased.

However, in correction (conversion) of luminance of the image signalprocessing apparatus disclosed in Unexamined Japanese Patent PublicationNo. 2008-167418, a luminance converting method at a time of correcting(converting) the luminance from a first luminance range into a secondluminance range larger or smaller than the first luminance range is notconsidered.

In view of the above, the inventor of present disclosure has beenexamined the following improvement plan in order to solve the aboveproblem.

A converting method according to one aspect of the present disclosure isa converting method relating to picture luminance, the picture luminancebeing formed by a luminance value in a first luminance range, the methodincludes, obtaining a first luminance signal that indicates a code valueobtained by quantizing the luminance value of the picture, deciding acode value, which is associated with the code value indicated by theobtained first luminance signal by quantization for a second luminancerange different in a maximum value from the first luminance range, as aconverted code value, and converting the first luminance signal isconverted into a second luminance signal indicating the converted codevalue.

As a result, the luminance can be suitably converted from the firstluminance range into the second luminance range larger or smaller thanthe first luminance range.

Further, for example, the first luminance signal indicates the firstcode value obtained by quantizing the picture luminance value using afirst EOTF (Electro-Optical Transfer Function) where the luminance valuein the first luminance range and a plurality of first code values areassociated with each other. In conversion into the second luminancesignal, the second code value associated with the code value indicatedby the obtained first luminance signal is decided as the converted codevalue by using the first EOTF and a second EOTF where the luminancevalue in the second luminance range and a plurality of second codevalues are associated with each other, and the second luminance signalmay indicate the decided second code value.

Further, for example, in the conversion into the second luminancesignal, first remapping for (i) deciding a luminance value associatedwith the code value indicated by the first luminance signal using thefirst EOTF, and (ii) deciding the second code value associated with thedecided luminance value in the second EOTF as the converted code value,may be performed.

Further, for example, in the first remapping, when the plurality ofsecond code values does not include the code value that is associatedwith the decided luminance value in the second EOTF, a code valueassociated with a luminance value least different from the decidedluminance value in the plurality of second code values may be decided asthe converted code value.

Further, for example, in the first remapping, when the code valueindicated by the obtained first luminance signal is a second bit numbersmaller than a first bit number expressing the first code valueassociated in the first EOTF, a luminance value associated in the firstEOTF may be decided by using a bit higher by the second bit number inthe first code value.

Further, for example, in conversion into the second luminance signal,second remapping for (i) deciding a first luminance value associatedwith the code value indicated by the first luminance signal using thefirst EOTF, (ii) deciding a second luminance value associated with thedecided first luminance value in advance in the second luminance range,and (iii) deciding the second code value associated with the decidedsecond luminance value in the second EOTF as the converted code value,may be performed.

Further, for example, the first luminance range is larger in a maximumluminance value than the second luminance range, the maximum luminancevalue in the first luminance range is associated with the maximumluminance value in the second luminance range in advance, in decision ofthe second luminance value, when the decided first luminance value is ina low luminance region where the luminance is low in the first luminancerange, the second luminance value is decided so as to be approximatelyequal to the first luminance value, when the decided first luminancevalue is in a high luminance region where the luminance is high in thefirst luminance range, the second luminance value is decided so that thelarger the first luminance value is, the smaller an increase amount ofthe luminance value is, when the decided first luminance value is themaximum luminance value in the first luminance range, the maximumluminance value in the second luminance range may be the secondluminance value.

Further, for example, in decision of the second luminance value, whenthe decided first luminance value exceeds the maximum luminance value inthe second luminance range, the maximum luminance value in the secondluminance range may be the second luminance value.

Further, for example, in decision of the second luminance value,relational information according to a scene of the picture is selectedfrom a plurality of pieces of relational information representingrelationships between the luminance value in the first luminance rangeand the luminance value in the second luminance range, and the secondluminance value may be decided based on the decided first luminancevalue by using the selected relational information.

Further, for example, in conversion into the second luminance signal,when the picture is a video and the first luminance signal is a signalobtained by quantizing a luminance value of the video, second remappingfor (i) deciding a first luminance value associated with the code valueindicated by the first luminance signal using the first EOTF, (ii)deciding a second luminance value associated with the decided firstluminance value in advance in the second luminance range, and (iii)deciding a code value associated with the decided second luminance valuein the second EOTF as the converted code value, is performed, when thepicture is a graphic and the first luminance signal is a signal obtainedby quantizing a luminance value of the graphic, first remapping for (i)deciding a luminance value associated with the code value indicated bythe first luminance signal using the first EOTF, and (ii) deciding acode value associated with the decided luminance value in the secondEOTF as the converted code value, may be performed.

Further, for example, the method further includes performing the firstremapping and the second remapping so that a video and a graphic thatare converted into the second luminance signal may be synthesized to beoutput.

Further, for example, the conversion into the second luminance signalmay be performed by using the first EOTF and the second EOTF where adisplayable luminance range on a display device as an output destinationof the second luminance signal is the second luminance range.

Further, for example, the method further includes outputting the secondluminance signal obtained by converting the obtained first luminancesignal together with meta-information for identifying the second EOTF.

Note that these generic or specific aspects may be realized by anapparatus, a system, an integrated circuit, a computer program or arecording medium recording medium such as a CD-ROM readable by acomputer, or may be realized by any combination of a system, a method,an integrated circuit, a computer program or a recording medium.

The converting method and a converting apparatus according to one aspectof the present disclosure are specifically described below withreference to the accompanying drawings.

Note that exemplary embodiments to be described below are specificexamples of the present disclosure. Numerical values, shapes, materials,components, disposed positions and connecting forms of the components,steps and an order of steps are examples, and are not intended to limitthe present disclosure. Further, some components of the components inthe following exemplary embodiments that are not described inindependent claims indicating a generic concept are described asoptional components.

First Exemplary Embodiment

[1-1. Background]

In heightening of picture quality, emphasis has been put on an increaseof pixels, and demands for a picture with Full HD (FHD: Full Highdefinition) of 1920×1080 pixels or 2048×1080 pixels have increased. Inrecent years, in order to further heighten the image quality of apicture, a so-called 4K picture of 3840×1920 or 4096×1920 pixels arestarted to be introduced. It is considered that the picture quality isheightened by heightening the picture resolution, widening a dynamicrange, extending color gamut, or improving a frame rate.

As to the dynamic range in all of them, an attention is paid to an HDR(High Dynamic Range) as a system compatible with a luminance range wherea maximum luminance value is increased in order to express bright lightsuch as mirror reflected light that cannot be expressed by a current TVsignal using more realistic brightness while dark part gradation in aconventional picture is being maintained. Specifically, the system ofthe luminance range compatible with a conventional TV signal is calledan SDR (Standard Dynamic Range), and its maximum luminance value is 100nit, but it is assumed that a maximum luminance value of the HDR isincreased to 1000 nit or more. Standardization of the HDR in SMPTE(Society of Motion Picture & Television Engineers) or ITU-R(International Telecommunications Union Radiocommunications Sector) isnow in progress. Broadcasting or a BD (Blu-ray (registered trademark)Disc) is assumed as specific application of the HDR.

[1-2. With Respect to EOTF]

The EOTF is described with reference to FIG. 1.

FIG. 1 is a diagram illustrating an example of the EOTFs(Electro-Optical Transfer Functions) compatible with the HDR and theSDR, respectively.

The EOTF is generally called a gamma curve, and indicates associationbetween a luminance value and a code value, and is for quantizing toconvert a luminance value into a code value. That is to say, the EOTF isrelational information indicating the association relationships betweenluminance values and a plurality of code values. For example, when aluminance value of an SDR-compatible picture is expressed by a codevalue of 8-bit gradation, luminance values in a luminance range of up to100 nit are quantized so as to be mapped into 256 integers from 0 to255. That is to say, quantization based on the EOTF converts theluminance values in the luminance range of up to 100 nit (the luminancevalues of an SDR-compatible picture) into an SDR signal as an 8-bit codevalue. In an HDR-compatible EOTF (hereinafter, “HDR EOTF”), a luminancevalue higher than an SDR-compatible EOTF (hereinafter, “SDR EOTF”) canbe expressed, and in FIG. 1, for example, a maximum value of theluminance (peak luminance) is 1000 nits. That is to say, the HDRluminance range includes the entire SDR luminance range, and the HDRpeak luminance is larger than SDR peak luminance. The HDR luminancerange is a luminance range where the maximum value is increased from 100nit, for example, that is the maximum value of the SDR luminance rangeto 1000 nit. Further, the HDR signal is expressed by, for example,10-bit gradation.

[1-3. How to Use EOTF]

FIG. 2 is an explanatory diagram illustrating a method for deciding acode value of a luminance signal to be stored in contents and a processfor restoring a luminance value from the code value at a reproductiontime.

A luminance signal indicating luminance in this example is anHDR-compatible HDR signal. An image after grading is quantized by areverse HDR EOTF, and a code value associated with a luminance value ofthe image is decided. The image is encoded based on this code value, andelementary streams of a video and a graphic are generated. At a time ofreproduction, decoded results of the elementary streams are inverselyquantized based on the HDR EOTF, and each luminance value for each pixelis restored.

[1-4. Stream Configuration of BD]

The above describes that the HDR may be used in an optical disc such asa BD, or broadcasting. A BD is described below as one example of mediausing the HDR with reference to FIG. 3.

FIG. 3 is an explanatory diagram illustrating a player for creation of aBD and reproduction from a BD.

As shown in FIG. 3, a production process includes authoring of Blu-ray(registered trademark) contents, creation of a BD storing the authoredBlu-ray (registered trademark) contents. The Blu-ray (registeredtrademark) contents include graphic data for generating a subtitle and amenu, and scenario data for providing display of a menu andinteractivity in a user's operation as well as a video and an audio. Thescenario data has a format called an HDMV (High Definition Movie) forcontrol using a prescribed command, and a format called a BD-J (Blu-ray(registered trademark) Disc Java (registered trademark)) for controlusing a Java (registered trademark) program. In the authoring, a videoand an audio are encoded, their encoded streams and graphic datarepresenting a subtitle and a menu are multiplexed into a transportstream of an M2TS format. Further, management information necessary forreproduction control for a playlist and an EP map is generated. The datagenerated by the authoring is stored in a BD.

A BD player refers to the management information and separateselementary streams of the video and the audio necessary for reproductionfrom the graphic data so as to decode and output them. The video and thegraphics such as the subtitle and the menu are output after a videoplane and a graphics plane are synthesized. When the video is differentin resolution from the graphics, the graphics are up-converted accordingto the resolution of the video, and the video and the graphics aresynthesized.

[1-5. Configuration of Apparatus]

When contents (pictures) compatible with the HDR are reproduced, adisplay such as a TV receives and displays an output signal from areproducing apparatus such as a BD player. Hereinafter, display of apicture compatible with HDR is described as “HDR display”, and a displayof a picture compatible with SDR is described as “SDR display”. At thistime, when the display is compatible with the HDR display, an outputsignal to be output from the reproducing apparatus may be still an HDRsignal compatible with the HDR. On the other hand, when the display isnot compatible with the HDR display, the reproducing apparatus convertsthe output signal into an SDR signal compatible with the SDR. When thedisplay is not compatible with the HDR display, the display iscompatible only with the SDR display.

FIG. 4A and FIG. 4B illustrate an example where BD player 200 and TVs300 and 310 are connected by an HDMI (registered trademark). FIG. 4Aillustrates a case where TV 300 is compatible with the HDR, and FIG. 4Billustrates a case where TV 310 is not compatible with the HDR display.BD player 200 in FIG. 4A is different in a configuration from BD player200 in FIG. 4B, but FIG. 4A is a diagram illustrating a case whereremapping, described later, is not performed and does not illustrate aconfiguration of converting apparatus 210 that performs remapping.

In FIG. 4A, BD player 200 reads videos and graphics from media 100 anddecodes them. BD player 200 synthesizes HDR data of the decoded videosand graphics with each other, and outputs an HDR signal generated by thesynthesization to HDR display-compatible TV 300 through the HDMI(registered trademark).

On the other hand, in FIG. 4B, since TV 310 is incompatible with HDRdisplay, BD player 200 remaps the HDR data of the videos and graphicsinto SDR data using an HDR EOTF and an SDR EOTF before the videos andthe graphics are synthesized. BD player 200 synthesizes the SDR data ofthe remapped videos and graphics, and outputs an SDR signal generated bythe synthesization to HDR display-incompatible TV 310 through the HDMI(registered trademark).

Incidentally, the remapping is a process for converting first codevalues in a first EOTF into second code values in a second EOTF when twokinds of EOTFs including the first EOTF and the second EOTF are present.In FIG. 4B, the remapping is a process for converting code values of theHDR EOTF into code values of the SDR EOTF in conversion from the HDRinto the SDR.

That is to say, in FIG. 4B, BD player 200 includes converting apparatus210 having an obtainer and a converter. The obtainer obtains a firstluminance signal (the HDR signal) associated with a first luminancerange (HDR). The converter decides code values associated with codevalues indicated by the first luminance signal obtained by the obtainerby quantization for a second luminance range (SDR) as converted codevalues using the HDR EOTF and the SDR EOTF, and converts the firstluminance signal into a second luminance signal indicating the convertedcode values. More specifically, the converter decides second code valuesassociated with the code values indicated by the first luminance signalobtained by the obtainer are decided as the converted code values usingthe first EOTF and the second EOTF in the conversion into the secondluminance signal. BD player 200 carries out a converting method forperforming steps related to respective parts of converting apparatus210. FIG. 4B illustrates a case where converting apparatus 210 convertsthe HDR signal into the SDR signal so as to output the SDR signal, butthe apparatus may convert the SDR signal into the HDR signal asdescribed later.

Since luminance that exceeds 100 nit cannot be expressed in the SDR, theconversion from the HDR into the SDR performed by converting apparatus210 needs to be performed based on a suitable process according to atleast a conversion table where association between luminance thatexceeds 100 nit in the HDR signal and the SDR code values associatedwith the luminance is defined in advance, or luminance distribution ofan image in the contents. Further, in the converting method, it isassumed that different conversion rules are necessary for data where aluminance value is discrete like a subtitle, and a video. Further, sinceremapping is generated for each frame, a processing amount is largeparticularly in an image with high resolution such as 4K. Further, sincethe luminance value varies before and after the remapping, an imageafter the remapping might be different from an image that is intended bya creator.

When an HDR signal of an HDR-compatible picture (contents) is convertedinto an SDR signal so as to output the SDR signal, remapping similar tothe video is necessary for graphics. When the remapping is performed onboth the video and the graphics, a processing amount of the remappingbecomes large, and conversion into a luminance value that is notintended by a creator might be performed.

[1-6. First Remapping for Fixed Luminance Value]

A luminance range of a graphic master is common between an SDR masterand an HDR master (described later). That is to say, the graphic masteris generated with an upper limit or less in the SDR luminance range.This is because a greatest effect of the HDR in picture contents isconsidered to be exerted on a video such as a main feature of a movie,and an effect to be exerted on the graphic such as a subtitle is smallerthan the video.

In such remapping of the graphic, first remapping is performed in amanner that a luminance value associated with a code value in the firstEOTF before conversion is decided, and a code value in the second EOTFafter the conversion associated with the luminance value is decided.That is to say, the first remapping is performed with the luminancevalue being fixed in a manner that the code value in the second EOTF isdecided by using the luminance value as it is, decided by the firstEOTF.

A table, which represents association relationships between theplurality of code values in the respective EOTFs and the plurality ofluminance values, is saved in advance. A predetermined luminance valueassociated with a predetermined code value is decided by referencingeach table, or on the contrary, a predetermined code value associatedwith a predetermined luminance value is decided.

A specific process is described with reference to FIG. 5A and FIG. 5B.FIG. 5A is a diagram for describing an example where the first remappingfrom the SDR signal into the HDR signal is performed, and describing thefirst remapping of the SDR signal where an SDR code value is code_sdr.In the first remapping, a luminance value val_i associated with code_sdris decided by using the SDR EOTF, and then code_hdr in the HDR EOTFassociated with the decided luminance value val_i is decided. With thisoperation, the code value code_sdr in the SDR EOTF is remapped into thecode value code_hdr in the HDR EOTF.

FIG. 5B is a diagram for describing an example of the first remappingfrom the HDR signal into the SDR signal, and describing remapping of theHDR signal with the code value code_hdr in the HDR EOTF similarly to thecase in FIG. 5A. In the first remapping, code_hdr is remapped by thecode value code_sdr in the SDR EOTF. That is to say, the luminance valueval_i associated with code_hdr is decided by using the HDR EOTF, andthen code_sdr in the SDR EOTF associated with the decided luminancevalue val_i is decided.

As a result, in the first remapping shown in FIG. 5A and FIG. 5B, (i) aluminance value associated with the code value indicated by the firstluminance signal is decided by using the first EOTF, and (ii) a secondcode value associated with the decided luminance value in the secondEOTF is decided as the converted code value.

In the first remapping, when the code value that matches with theluminance value in the first EOTF before the conversion is not presentin the second EOTF after the conversion, a code value that is leastdifferent in the luminance value from the matched code value is selectedfrom the code values in the second EOTF after the conversion. That is tosay, in the first remapping shown in FIG. 5A and FIG. 5B, the code valueassociated with the decided luminance value is not present in theplurality of second code values associated in the second EOTF, a codevalue associated with a luminance value least different from the decidedluminance value in the plurality of second code values is decided as theconverted code value. In the example of FIG. 5A, when a code thatmatches with the luminance value val_i (the luminance value associatedwith code-sdr in the SDR EOTF) is not present in the plurality of codevalues in the HDR EOTF, a code value, which is associated with aluminance value closest to val_i, is selected from the plurality ofluminance values associated with the plurality of code values in the HDREOTF.

An 8-bit signal is generally used as a bit length of the code value ofthe SDR signal, but a bit length is assumed to be increased to 10 bitsor 12 bits in the HDR signal in order to express high peak luminance.However, in a conventional authoring system, an optical disc or a BDplayer, since a video or graphic signal is 8 bits, an 8-bit signal isdesirably used from a viewpoint of compatibility. A video is a mostimportant element in the contents, therefore heightening of resolutionfrom 2K to 4K, and widening of color gamut from ITU-R RecommendationsBT.709 to BT.2020 are expected. For this reason, compatibility with theconventional systems or devices is difficult. On the other hand, aconventional graphic of 2 K, 8 bits and SDR is used, and the graphic isup-converted into 4K when the SDR graphic is displayed, so that thegraphic can be synthesized with a video to be displayed. The graphicthat is the same as the conventional one enables graphic data usedauthoring to be shared in a picture (contents) that is a 2K videocompatible with the SDR and new contents that are a 4K video or arecompatible with the HDR.

When the display is compatible only with the SDR and uses the SDR EOTF,the SDR peak luminance can be expressed by 8 bits, and thus no problemarises. On the other hand, when the display is compatible with the HDRand uses the HDR EOTF, the bit length is increased from 8 bits to 10bits or 12 bits in the HDR EOTF. As a result, a luminance value in theHDR EOTF associated with a code value “255” as a maximum value in 8-bitexpression is occasionally smaller than the SDR peak luminance. That isto say, when values 0 to 255 are extracted from the code values in theHDR EOTF for association with the 8-bit HDR signal, the SDR peakluminance may not be expressed.

Therefore, when the HDR EOTF associated with a 10-bit code value isexpressed by an 8-bit code value, a high-order 8-bit code value in the10-bit code value in the HDR EOTF may be used. Specifically, when the8-bit code value of the HDR signal is converted into a luminance value,the 8-bit HDR signal is shifted up by 2 bits, and 0 is inserted into alow-order 2-bit value so that a 10-bit code value is generated. Aluminance value associated with the generated code value is decided.

That is to say, in the first remapping, when the code value indicated bythe obtained first luminance signal is a second bit number smaller thana first bit number expressing the first code value associated in thefirst EOTF, a luminance value associated in the first EOTF is decided byusing a bit higher by the second bit number in the first code value.Further, in the first remapping, the bit length of the first luminancesignal is converted into a bit length of the first EOTF, and theluminance value associated with the code value of the converted firstluminance signal is decided in the first EOTF.

The code values generated by shifting-up by 2 bits are only multiples of4, but the SDR peak luminance can be expressed by an 8-bit code value.In another manner, when the SDR peak luminance can be expressed by a9-bit code value, the 9-bit code value may be shifted-up by 1 bit. Atthis time, the shifted-up code value is a multiple of 2. Note that thesimilar method can be used for a case where the code value of the HDREOTF is 12 bits.

As described above, in the first remapping, since the luminance value isfixed and the luminance value needs not to be associated between thefirst and second EOTFs before and after the conversion, the processingamount relating to the remapping can be reduced. Such first remapping iscalled luminance value fixed remapping.

[1-7. Second Remapping of Variable Luminance Value]

The above describes that graphic is remapped from the HDR to the SDR orfrom the SDR to the HDR by the luminance value fixed remapping (firstremapping). On the other hand, as shown in FIG. 6, since masters ofdifferent peak luminance are used for the SDR and the HDR in a video,the HDR master includes luminance that exceeds the peak luminance on theSDR. FIG. 6 is a diagram illustrating luminance ranges of the SDR masterand the HDR master in a video.

In remapping of a video, since peak luminance of the HDR signal of avideo is higher than peak luminance of SDR, the luminance value cannotbe made to be constant before and after the conversion unlike theremapping of a graphic. For this reason, in the remapping of a video,remapping for converting the luminance value before and after theconversion (second remapping) is performed. That is to say, in thesecond remapping, (i) after the first luminance value associated withthe code value indicated by the first luminance signal (a luminancevalue before the remapping) is decided by using the first EOTF, (ii) thesecond luminance value in the second luminance range associated with thedecided first luminance value in advance (the luminance value after theremapping) is decided differently from the first remapping. In thesecond remapping, further similarly to the first remapping, the secondcode value associated with the decided second luminance value in thesecond EOTF is decided as the converted code value.

FIG. 7 is a diagram for describing an example of relational informationabout an association relationship between the HDR luminance values andthe SDR luminance values when the HDR signal is converted into the SDRsignal. Details of the mapping method are omitted, but in the aboveassociation relationship, mapping to luminance values in the SDRluminance range is performed so that luminance values in a low luminanceregion in the HDR luminance range are maintained as much as possible.Luminance values in a high luminance region higher than the lowluminance region in the HDR luminance range are mapped near the peakluminance in the SDR luminance range. That is to say, as shown in FIG.7, in the decision of the second luminance value, when the decided firstluminance value is in the low luminance region where the luminance inthe first luminance range is low, the second luminance value is decidedso as to be approximately equal to the first luminance value. In thedecision of the second luminance value, when the decided first luminancevalue is in the high luminance region where the luminance in the firstluminance range is high, the second luminance value is decided so thatas the first luminance value increases, an increasing amount reduces.When the decided first luminance value is a maximum luminance value inthe first luminance range, the maximum luminance value in the secondluminance range is decided as the second luminance value.

Note that luminance values that exceed the SDR peak luminance arecollectively clipped so as to be matched with the SDR peak luminance.That is to say, in the decision of the second luminance value as theluminance value after the remapping, when the decided first luminancevalue exceeds the maximum luminance value in the second luminance range,the maximum luminance value in the second luminance range may be thesecond luminance value. However, such a method has a disadvantage that aluminance difference of the HDR signal in the high luminance regioncannot be expressed at all. Incidentally, the association relationshipbetween the HDR and SDR luminance values is similarly applied also tothe conversion from SDR into HDR. A table is additionally prepared forthe association between the HDR and SDR luminance values.

The second remapping for the case where the luminance value changesbefore and after the remapping is called luminance value variableremapping.

[1-8. Converting Method and Converting Apparatus]

FIG. 8 is a block diagram illustrating a configuration of a remappingprocessor in a converting apparatus.

Remapping processor 220 is included in converting apparatus 210. Asshown in FIG. 8, remapping processor 220 has EOTF determiner 221,process target determiner 222, luminance value variable remapper 223,and luminance value fixed remapper 224, storage 225 that temporarilystores a stream of contents (a picture).

EOTF determiner 221 determines whether the EOTF associated with a signalof contents (a video and graphics) read from media 100 is different fromthe EOTF associated with output signals to be output to displays of TVs300 and 310 that display pictures. The EOTF associated with an outputsignal is the EOTF of an output signal that is associated with a displayof TV and can be displayed on the display.

Process target determiner 222 determines whether a process target is avideo (a graphic).

Luminance value variable remapper 223 converts a signal of a streamstored in storage 225 into a signal associated with the EOTF of anoutput signal according to the luminance value variable remapping(second remapping).

Luminance value fixed remapper 224 converts the stream signal stored instorage 225 into a signal associated with the EOTF of the output signalaccording to the luminance value fixed remapping (first remapping).

FIG. 9 is a diagram illustrating a flowchart of a remapping process inthe converting apparatus.

First, EOTF determiner 221 determines whether an EOTF associated with asignal of obtained contents (a video and a graphic) is different from anEOTF associated with an output signal to be output to a display as shownin FIG. 9 (step 101). When the determination is made as “Yes” in step101, processes in step 102 to step 104 are executed in order to converta system of the luminance range associated with the contents signal intothe EOTF associated with the output signal. On the other hand, thedetermination is made as “No” in step 101, the remapping process isended, and the contents signal is output without remapping. Step 101 isexecuted in such a manner so that the display such as a TV that displaysa picture is decided based on compatibility with the HDR display. Theformat of the output signal may be decided so as to be compatible with amain video such as a main feature.

Process target determiner 222, then, determines whether a process targetis a video (a graphic) (step 102). When the determination is made as“Yes” in step 102, luminance value variable remapper 223 converts thecontent signal into a signal compatible with the EOTF of the outputsignal according to the luminance value variable remapping (the secondremapping) (step 103).

On the other hand, when the determination is made as “No” in step 102,luminance value fixed remapper 224 converts the contents signal into asignal compatible with the EOTF of the output signal according to theluminance value fixed remapping (the first remapping) (step 104).

When the content (the picture) is a video, the second remapping isperformed, and when the content (the picture) is a graphic, the firstremapping is performed.

In the luminance value variable remapping in step 103 and the luminancevalue fixed remapping in step 104, tables that indicate an associationrelationship between the HDR and SDR luminance values are prepared inadvance respectively. The association relationship between the luminancevalues with the code values in the HDR EOTF and the SDR EOTF may bedescribed in each of the tables. As a result, the code values that areassociated with the luminance values of the EOTF after the remapping arealways present. For this reason, when a code value that is associatedwith a luminance value is not present, a code value having a luminancevalue closest to that luminance value needs not to be searched for.

Further, in the luminance value variable remapping (the secondremapping), a plurality of tables may be adaptively switched based on aluminance distribution in an image or in each scene or an optimum tablemay be sequentially created for each content. That is to say, forexample, in decision of the second luminance value that is the luminancevalue after the remapping, relational information according to a picturescene is selected from a plurality of pieces of relational information(tables) representing a relationship between the luminance values in thefirst luminance range and the luminance values in the second luminanceexpression. Then the second luminance value may be decided based on thedecided first luminance value by using the selected relationalinformation.

In the luminance value variable remapping in step 103, the process isexecuted in the following procedure. In this case, the conversion isperformed from the first luminance signal associated with the first EOTFinto the second luminance signal associated with the second EOTF.

(1) The first luminance value associated with the code value of thefirst EOTF (the luminance value before the remapping) is decided.

(2) The second luminance value of the second EOTF associated with thefirst luminance value decided in (1) (the luminance value after theremapping) is decided.

(3) A code value of the second EOTF associated with the second luminancevalue decided in (2) is decided.

In the luminance value fixed remapping in step 104, the process isexecuted in the following procedure. In this case, the conversion isperformed from the first luminance signal associated with the first EOTFinto the second luminance signal associated with the second EOTF.

(1) The luminance value associated with the code value of the first EOTFis decided.

(2) (1) The code value of the second EOTF associated with the luminancevalue decided in (1) is decided.

*In the luminance value fixed remapping, since the luminance value doesnot change before and after the remapping, the process (2) in step 103is not necessary.

After the completion of step 103 and step 104 in the remapping process,converting apparatus 210 synthesizes the video and the graphic so as tooutput them. That is to say, converting apparatus 210 may furtherperform the first remapping and the second remapping so as to synthesizeand output the video and the graphic that are converted into the secondluminance signal.

Further, when outputting the signal to the display through an interfacesuch as an HDMI (registered trademark), converting apparatus 210 maytransmit information for identifying the EOTF of the output signal asmeta-information. That is to say, converting apparatus 210 may furtheroutput the second luminance signal obtained by converting the obtainedfirst luminance signal as well as the meta-information for identifyingthe second EOTF.

[1-9. Effects]

In the first exemplary embodiment, in the reproduction of contents, adecision is made whether an HDR signal or an SDR signal is outputaccording to compatibility of an output destination of a picture withthe HDR or the SDR. The process for remapping the picture and thegraphic from the SDR to the HDR or from the HDR to the SDR is executedaccording to the output format. A luminance value fixed remappingprocess where the luminance value does not change before and after theremapping is applied to the graphic, and a luminance value variableremapping process where the luminance value might be changed before andafter the remapping is applied to the picture.

Since the luminance of the graphic does not change before and after theremapping, image quality intended by a creator can be maintained.Further, the luminance values need not to be associated between theEOTFs before and after the conversion, and thus the processing amountfor the remapping can be reduced.

Second Exemplary Embodiment

[2-1. Contents Creating Method]

The creation of a video master and a graphic master needs a grading stepshown in FIG. 2. In this step, luminance and color shade of a digitalimage imaged by a camera or a scanned image of a film are corrected ineach pixel so that creator's intention is reflected. The gradingrequires advanced know-how, and a great number of necessary steps.Therefore, it is desirable to minimize a number of masters to be createdas small as possible. On the other hand, since the peak luminance isdifferent between the HDR and the SDR, different masters need to begenerally created for the HDR and the SDR respectively. FIG. 10 is adiagram illustrating an example of combinations of the HDR and the SDRwhen contents include one video stream and one graphic stream. In thisexample, four combinations are present, and the HDR master and the SDRmaster are necessary for a video and a graphic.

On the other hand, a greatest effect of the HDR in picture contents isconsidered to be exerted on a video such as a main feature of a movie,and an effect to be exerted on graphic such as a subtitle is smallerthan the effect on the video. Nevertheless, when the HDR master and theSDR master are created also for the graphic similarly to the video, aload on the creation of contents is large.

Therefore, in the creation of the graphic master in the presentdisclosure, a master is shared in the SDR and the HDR as shown in FIG.11. FIG. 11 is a diagram illustrating that a graphic master is createdby using an EOTF shared with a video master. A luminance range in thegraphic master is made to match with an SDR luminance range. That is tosay, peak luminance in the graphic master is an upper limit value of theSDR luminance range or less. When graphic data in the contents is mappedinto an SDR signal compatible with SDR, code values for respectivepixels are decided based on the SDR EOTF. When the graphic data ismapped into an HDR signal compatible with the HDR, code values forrespective pixels are decided based on the HDR EOTF.

FIG. 12A is a diagram for describing a case of mapping on the SDR signalwhen the graphic master is created. In this case, since the SDRluminance range matches with the luminance range of the graphic master,a defining region of the code value in the SDR EOTF is entirelyeffective.

FIG. 12B is a diagram for describing a case of mapping on the HDR signalwhen the graphic master is created. In this case, only code values thatare the code value corresponding to the peak luminance of SDR or lessare effective.

Incidentally, when the graphic master is mapped into the HDR signal,identification information representing that the peak luminance iswithin the SDR luminance range may be stored in an elementary stream ormanagement information such as a playlist. In the above remappingprocess, a decision can be made based on the identification informationwhich of luminance value fixed remapping or luminance value variableremapping is applied. Further, when output is carried out by aninterface such as HDMI (registered trademark), the identificationinformation may be stored as meta-information of the output interface.

An EOTF of the graphic can be decided according to a video. That is tosay, when the video is an HDR video, the graphic data is also HDR data,and when the video is an SDR video, the graphics data is also SDR data.In another manner, the graphic data may be always an SDR data.

Note that the similar consideration can be applied also to a case wherea plurality of videos is present. For example, when a sub-video that isdisplayed with it being overlapped on a main video or in parallel withthe main video, an EOTF of the sub-video can be matched with an EOTF ofthe main video.

[2-2. Data Creating Method and Apparatus]

FIG. 13 is a block diagram illustrating a configuration of a generatorthat generates a graphic signal on authoring.

Generator 400 includes GFX (graphic effect) grading part 410, determiner420, HDR signal generator 430, and SDR signal generator 440.

GFX grading part 410 grades a graphic master so that the luminance valueis the SDR peak luminance or less.

Determiner 420 determines whether a video to be displayed together witha graphic is an HDR video.

When determiner 420 determines that the video to be displayedsimultaneously with the graphic is an HDR video, HDR signal generator430 converts a luminance value of the graphic into a code value usingthe HDR EOTF.

When determiner 420 determines that the video to be displayedsimultaneously with the graphic is not an HDR video (namely an SDRvideo), SDR signal generator 440 converts the luminance value of thegraphic into a code value using the SDR EOTF.

FIG. 14 is a flowchart illustrating a method for generating the graphicsignal on authoring.

First, GFX grading part 410 grades a graphic master so that theluminance value becomes the SDR peak luminance or less (step 201).

Determiner 420 determines whether the video to be displayedsimultaneously with the graphic is an HDR video (step 202).

When the determination is made as “Yes” in step 202, HDR signalgenerator 430 converts the luminance value of the graphic into a codevalue using the HDR EOTF (step 203).

When the determination is made as “No” in step 202, SDR signal generator440 converts the luminance value of the graphic into a code value usingthe SDR EOTF (step 204).

Note that the determination is made in step 202 whether the graphic isdisplayed simultaneously with the video. At this time, when the graphicis, for example, a subtitle, the video on which the subtitle issuperimposed is determined. Further, the graphic such as a menu that isnot displayed simultaneously with the video may be determined based onwhether a main feature of the video is an HDR video. Furthermore, sincethe graphic uses a format for conventional 2K, the graphic is convertedalways using the SDR EOTF. Therefore, the determining process in step202 is not executed, and the process in step 204 may be always executed.

In such a manner, the luminance range of the graphic is set to be theSDR peak luminance or less, so that the luminance value fixed remappingcan be performed without changing the luminance value before and afterthe remapping.

Note that the grading can be carried out also on data other than graphicso that the luminance of the HDR master is within the SDR range.Particular, in a graphic such as a subtitle, a merit of using aluminance value higher than the SDR peak luminance is insignificant.Therefore, the luminance value fixed remapping may be applied to theremapping from the SDR to the HDR regardless of whether the grading iswithin the SDR range.

[2-3. Effects and the Like]

In the creating apparatus and the creating method according to thesecond exemplary embodiment, when a content that includes picture datasuch as a graphic as well as a video is authored, a common master isused for the picture data other than the video in the HDR and the SDR.For this reason, grading is carried out so that the peak luminance in amaster is within the SDR luminance range.

As a result, since the master excluding the video can be commonized inthe HDR and the SDR, a number of steps relating to the creation of amaster can be reduced.

Another Exemplary Embodiment

The exemplary embodiments are described above as the examples of thetechnique disclosed in the present application. However, the techniqueof the present disclosure is not limited to them, and thus can beapplied to an exemplary embodiment where modification, replacement,addition or omission is suitably made. Further, the components describedin the exemplary embodiments are combined so as to provide a newexemplary embodiment.

Therefore, another exemplary embodiment is described below.

For example, in the above exemplary embodiments, two kinds of formatsthat are the HDR and the SDR are described as a format of the outputsignal to be output from converting apparatus 210. At a time of outputinto the HDMI (registered trademark), output is carried out in the HDRor the SDR as a standard specification. For example, when a TV isprovided with a built-in BD player or broadcasting is received andreproduced by the TV, or an OTT service is viewed on a tablet, a signalcan be directly output from converting apparatus 210 into a displaydevice.

At this time, in a case where the peak luminance in an HDR standard isdifferent from the displayable peak luminance on the display device, aremapping process may be executed on data in a content compatible withthe HDR according to the EOTF of the display device. Further, theremapping process may be again executed on SDR and HDR signals inputinto the display device by the HDMI (registered trademark) for the EOTFaccording to the peak luminance of the display device.

That is to say, in this case, the obtained first luminance signal may beconverted into a second luminance signal by using the first EOTF, andthe second EOTF where the displayable luminance range on the displaydevice as an output destination of the second luminance signal is asecond luminance range.

Further, in the exemplary embodiments, not described, but in authoringof a BD, a video and an audio to be reproduced by unit of a play item ina playlist, or a graphic can be specified. When a video and an audio tobe reproduced in units of play items, or a graphic are specified, theresetting process is executed on a boundary of play items by switchingbetween the HDR and the SDR in units of play items in the interface suchas the HDMI (registered trademark). As a result, seamless reproductioncannot be occasionally carried out. Therefore, when the switchingbetween the HDR and the SDR is performed between play items that areseamlessly connected, the remapping process may be executed in theconverting apparatus provided to the BD player so that the EOTF of anoutput signal is the same as the EOTF of the previous play item. Inanother manner, the switching of the EOTF is prohibited between the playitems that are seamlessly connected, and identification information thatrepresents that the EOTF is not switched may be stored in managementinformation such as the playlist.

Further, the authoring or the converting method in the exemplaryembodiments can be applied not only to package media such as opticaldiscs but also to broadcasting and an OTT (Over The Top) service. Forexample, in broadcasting, besides a main feature of a broadcastingprogram, data broadcasting to be transmitted by broadcasting, and acontent obtained via a communication network can be superimposed on amain feature of a video to be displayed. At this time, it is expectedthat an HDR program and an SDR program are mixed in a main feature of avideo. A restriction of the peak luminance and the remapping process canbe carried out also on a graphic and a video in a content obtainedseparately from the main feature by the above-described method.

Further, the exemplary embodiments describe the HDR and SDR EOTFs withdifferent peak luminance. This idea can be similarly applied also tocolor gamut and bit depth. The color gamut is changed from a color spaceBT.709 into a color space BT.2020 according to heightening of resolutionfrom 2K to 4K. FIG. 15 is a diagram in which the color spaces BT.709 andBT.709 in ITU-R Recommendations are indicated by a CIE color system, andit is found that color gamut is wider in BT.2020 than BT.709. In agraphic, like a case where the peak luminance of the HDR signal is madeto be matched with the peak luminance of the SDR signal, when the colorspace BT.2020 is used, colors within a range of the color gamut ofBT.709 can be used. Information representing whether the colors arewithin the range of BT.709 when BT.2020 is used as the color space canbe stored as meta-information in the content or of the output interfacesimilarly to the EOTF.

Note that in the above exemplary embodiments, the respective componentsmay be configured by dedicated hardware, or may be realized by executingsoftware programs suitable for the respective components. The respectivecomponents may be realized by a such a manner that a program executersuch as a CPU or a processor reads software programs recorded in a harddisc or a recording medium such as a semiconductor memory so as toexecute the programs.

The converting method and the converting apparatus according to one orsome of the aspects of the present disclosure are described above in theexemplary embodiments, but the present disclosure is not limited to theexemplary embodiments. Exemplary embodiments obtained by making variousmodifications, which are conceived by the person skilled in the art, andexemplary embodiments obtained by combining the components in differentexemplary embodiments may be included in a scope of one or some of theaspects of the present disclosure without departing from the scope ofthe present disclosure.

The present disclosure is useful as the converting method and theconverting apparatus that can suitably convert luminance from a firstluminance range to a second luminance range that is made wider ornarrower than the first luminance range.

What is claimed is:
 1. A method comprising: obtaining a first luminancesignal that indicates a first code value obtained by quantizing aluminance value of a picture, luminance of the picture being formed by aluminance value in a first luminance range; and converting the firstluminance signal into a second luminance signal indicating a convertedcode value by deciding, as the converted code value, a second codevalue, which is associated with the first code value indicated by theobtained first luminance signal, the second code value being for asecond luminance range different in a maximum value from the firstluminance range, wherein the first luminance signal indicates the firstcode value obtained by quantizing the luminance value of the picture byusing a first Electro-Optical Transfer Function (EOTF) where theluminance value in the first luminance range and a plurality of firstcode values are associated with each other, in the converting, thesecond code value associated with the first code value indicated by theobtained first luminance signal is decided as the converted code valueby using the first EOTF and a second EOTF where the luminance value inthe second luminance range and a plurality of second code values areassociated with each other, and wherein the converting includesremapping for (i) deciding a first luminance value associated with thefirst code value indicated by the first luminance signal using the firstEOTF, (ii) deciding a second luminance value associated with the decidedfirst luminance value in advance in the second luminance range, and(iii) deciding, as the second code value, a code value associated withthe decided second luminance value using the second EOTF.
 2. The methodaccording to claim 1, wherein the first luminance range is larger in amaximum luminance value than the second luminance range, the maximumluminance value in the first luminance range is associated with themaximum luminance value in the second luminance range in advance, indeciding the second luminance value, when the decided first luminancevalue is in a low luminance region where the luminance is low in thefirst luminance range, the second luminance value is decided so as to beapproximately equal to the first luminance value, when the decided firstluminance value is in a high luminance region where the luminance ishigh in the first luminance range, the second luminance value is decidedso that the larger the first luminance value is, the smaller an increaseamount of the second luminance value is, and when the decided firstluminance value is the maximum luminance value in the first luminancerange, the maximum luminance value in the second luminance range is thesecond luminance value.
 3. The method according to claim 2, wherein inthe deciding the second luminance value, when the decided firstluminance value exceeds the maximum luminance value in the secondluminance range, the maximum luminance value in the second luminancerange is the second luminance value.
 4. The method according to claim 1,wherein in the deciding the second luminance value, relationalinformation according to a scene of the picture is selected from aplurality of pieces of relational information representing relationshipsbetween luminance values in the first luminance range and luminancevalues in the second luminance range, and the second luminance value isdecided based on the decided first luminance value by using the selectedrelational information.
 5. The method according to claim 1, wherein theconverting includes: when the picture is a video and the first luminancesignal is a signal obtained by quantizing a luminance value of thevideo, second remapping for (i) deciding a first luminance valueassociated with the first code value indicated by the first luminancesignal using the first EOTF, (ii) deciding a second luminance valueassociated with the decided first luminance value in advance in thesecond luminance range, and (iii) deciding, as the second code value, acode value associated with the decided second luminance value using thesecond EOTF; and when the picture is a graphic and the first luminancesignal is a signal obtained by quantizing a luminance value of thegraphic, first remapping for (i) deciding a luminance value associatedwith the first code value indicated by the first luminance signal usingthe first EOTF, and (ii) deciding, as the second code value, a codevalue associated with the decided luminance value using the second EOTF.6. The method according to claim 5, further comprising performing thefirst remapping and the second remapping so as to synthesize and outputthe video and the graphic converted into the second luminance signal. 7.The method according to claim 1, wherein the second luminance range is adisplayable luminance range on a display device as an output destinationof the second luminance signal.
 8. The method according to claim 7,further comprising outputting the second luminance signal obtained byconverting the obtained first luminance signal together withmeta-information for identifying the second EOTF.
 9. A methodcomprising: obtaining a first luminance signal that indicates a firstcode value obtained by quantizing a luminance value of a picture,luminance of the picture being formed by a luminance value in a firstluminance range; and converting the first luminance signal into a secondluminance signal indicating a converted code value by deciding, as theconverted code value, a second code value, which is associated with thefirst code value indicated by the obtained first luminance signal, thesecond code value being for a second luminance range different in amaximum value from the first luminance range, wherein the firstluminance signal indicates the first code value obtained by quantizingthe luminance value of the picture by using a first Electro-OpticalTransfer Function (EOTF) where the luminance value in the firstluminance range and a plurality of first code values are associated witheach other, in the converting, the second code value associated with thefirst code value indicated by the obtained first luminance signal isdecided as the converted code value by using the first EOTF and a secondEOTF where the luminance value in the second luminance range and aplurality of second code values are associated with each other, andwherein the converting includes remapping for (i) deciding a luminancevalue associated with the first code value indicated by the firstluminance signal using the first EOTF, and (ii) deciding, as the secondcode value, a code value associated with the decided luminance valueusing the second EOTF.
 10. The method according to claim 9, wherein inthe remapping, when the plurality of second code values does not includethe code value that is associated with the decided luminance value usingthe second EOTF, a code value associated with a luminance value leastdifferent from the decided luminance value in the plurality of secondcode values is decided as the second code value.
 11. The methodaccording to claim 9, wherein in the remapping, when the first codevalue indicated by the obtained first luminance signal is a second bitnumber smaller than a first bit number expressing the first code valuein the first EOTF, the luminance value associated with the first codevalue using the first EOTF is decided by using a bit higher by thesecond bit number in the first code value.
 12. An apparatus comprisingone or more memories and circuitry which, in operation performs:obtaining a first luminance signal that indicates a first code valueobtained by quantizing a luminance value of a picture; and convertingthe first luminance signal into a second luminance signal indicating aconverted code value by deciding, as the converted code value, a secondcode value, which is associated with the first code value indicated bythe obtained first luminance signal, the second code value being for asecond luminance range different in a maximum value from the firstluminance range, wherein the first luminance signal indicates the firstcode value obtained by quantizing the luminance value of the pictureusing a first Electro-Optical Transfer Function (EOTF) where a luminancevalue in the first luminance range and a plurality of first code valuesare associated with each other, in the converting, the second code valueassociated with the first code value indicated by the obtained firstluminance signal is decided as the converted code value by using thefirst EOTF and a second EOTF where a luminance value in the secondluminance range and a plurality of second code values are associatedwith each other, and wherein the converting includes remapping for (i)deciding a first luminance value associated with the first code valueindicated by the first luminance signal using the first EOTF, (ii)deciding a second luminance value associated with the decided firstluminance value in advance in the second luminance range, and (iii)deciding, as the second code value, a code value associated with thedecided second luminance value using the second EOTF.
 13. The apparatusaccording to claim 12, wherein in the deciding the second code valueincludes: when the picture is a video and the first luminance signal isa signal obtained by quantizing the luminance value of the video, secondremapping for (i) deciding a first luminance value associated with thefirst code value indicated by the first luminance signal using the firstEOTF, (ii) deciding a second luminance value associated with the decidedfirst luminance value in advance in the second luminance range, and(iii) deciding, as the second code value, a code value associated withthe decided second luminance value using the second EOTF; and when thepicture is a graphic and the first luminance signal is a signal obtainedby quantizing the luminance value of the graphic, first remapping for(i) deciding a luminance value associated with the first code valueindicated by the first luminance signal using the first EOTF, and (ii)deciding, as the second code value, a code value associated with thedecided luminance value using the second EOTF.
 14. An apparatuscomprising one or more memories and circuitry which, in operationperforms: obtaining a first luminance signal that indicates a first codevalue obtained by quantizing a luminance value of a picture; andconverting the first luminance signal into a second luminance signalindicating a converted code value by deciding, as the converted codevalue, a second code value, which is associated with the first codevalue indicated by the obtained first luminance signal, the second codevalue being for a second luminance range different in a maximum valuefrom the first luminance range, wherein the first luminance signalindicates the first code value obtained by quantizing the luminancevalue of the picture using a first Electro-Optical Transfer Function(EOTF) where a luminance value in the first luminance range and aplurality of first code values are associated with each other, in theconverting, the second code value associated with the first code valueindicated by the obtained first luminance signal is decided as theconverted code value by using the first EOTF and a second EOTF where aluminance value in the second luminance range and a plurality of secondcode values are associated with each other, and wherein the convertingincludes remapping for (i) deciding a luminance value associated withthe first code value indicated by the first luminance signal using thefirst EOTF, and (ii) deciding, as the second code value, a code valueassociated with the decided luminance value using the second EOTF.